import React from 'react';
import styles from '../../styles.less';

function StaticText({
  fontSize = 13,
  bold = false,
  textAlign = 'left',
  content = '请配置文本内容',
}) {
  return (
    <div
      className={styles.title}
      style={{ fontSize, fontWeight: bold ? 'bold' : 'normal', textAlign }}
    >
      {content}
    </div>
  );
}

StaticText.defaultProps = {};

StaticText.propTypes = {};

export default StaticText;
